package com.dz.core.dto;

/**
 * 分页实体
 * Created by lether on 2016/10/24.
 */
public class Page {

    private int currentPage = 1;//当前页
    private long total;//总条数
    private int pageTotal;//总页数
    private int pageSize = 10;//每页条数

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(int pageTotal) {
        this.pageTotal = pageTotal;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
